$intHour = Time.GetHour
("<time>")
Extracts the hour element from the given time expression.
Parameters
<time> Any valid time expression in hh:mm:ss format.
Return Value
Returns an integer value between 0 and 23.
Example
$ret = time.GetHour ("10:42:23")